package com.ds.infrastructure.hyperspace.common.flow.handler;

import com.ds.infrastructure.hyperspace.common.flow.DuplexFlowContext;

/**
 * @author  Weishaoying
 */
public interface PreFlowHandler<C extends DuplexFlowContext> extends FlowHandler {

    String URI_CONFIG_PARAM_NAME = "uri";

    String IP_CONFIG_PARAM_NAME = "ip";

    String OR_DELIMITER = "|";

    /**
     * Handle input data
     * @param duplexFlowContext
     * @param data
     */
    void handleInput(C duplexFlowContext, Object data);

}
